package drtySyntaxEditor;

import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.DefaultStyledDocument;

public class DrtySyntaxDocument extends DefaultStyledDocument {

	public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
		//System.out.println("Insert: '" + str + "' at " + offs);
		super.insertString(offs, str, a);
	}
	
	public void remove(int offs, int len) throws BadLocationException {
		//System.out.println("Remove: " + offs + "," + len + " (" + this.getText(offs, len) + ")");
		super.remove(offs, len);		
	}
}
